package com.phs.main.web.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author Trent
 * @since 2020-07-07
 */
@Data
@EqualsAndHashCode
@ApiModel(value = "SysPermissions对象", description = "权限表")
public class SysPermissions implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "权限表主码", hidden = true)
	@TableId(value = "permission_ID", type = IdType.AUTO)
	private Long permissionId;

	@ApiModelProperty(value = "描述这一权限的名称")
	private String permissionName;

	@ApiModelProperty(value = "这一权限的描述")
	private String permissionDesc;

	@ApiModelProperty(value = "是否被锁定")
	@TableLogic(value = "0", delval = "1")
	private Integer locked;


}
